package com.baiyinet;

/**
 * @author J.Huang
 * @version 1.0
 * @since 16/11/11
 */

public class Constants {
    public static final String KEY_COOKIE = "cookie";

    public static final int AD_SHOW_SECOND = 5;

    public static final class PATH {
        public static final String API_APP_INFO = "/Api/Common/AppInfo";
        public static final String API_LINK = "/Api/Common/Link";
        public static final String API_PAY_PARAM = "/Api/Pay/GetPayParam";
        public static final String API_UPLOAD_IMG = "/Api/Common/Upload";
        public static final String API_DOWNLOAD_IMG = "/Api/Common/Download";
        public static final String API_START_AD = "/api/common/StartAd";
        public static final String API_READ_ALL = "/api/Channel/ReadForAll";
        public static final String API_GET_DETAIL = "/Api/Anchor/GetDetail";
        public static final String API_ADD_MESSAGE= "/Api/Anchor/AddMessage";
        public static final String API_READ_MESSAGE = "/Api/Anchor/ReadMessage";

        public static final String MAIN = "/";
        public static final String LOGIN = "/com/user/login";
        public static final String LOGOUT = "/com/user/logout";
    }

    public static final class URL {
        public static final String MAIN = BuildConfig.ENDPOINT + PATH.MAIN;

        public static final String LOGIN = BuildConfig.ENDPOINT + PATH.LOGIN;
        public static final String LOGOUT = BuildConfig.ENDPOINT + PATH.LOGOUT;
    }
}
